Added logging to form loading, bring to front and closing events.