Minor - format code.
Minor - format code, replacing global $_user,
Fixing suspend_data, launch_data and lesson_location see BT#8898
Minor - format code.