The bankruptcy court was accorded wide discretion in deciding how to treat a $5.2 million loan that was neither disclosed to nor approved by the bankruptcy court.