Minor - Fixing PHP warnings.
Minor - format code.
Minor - format code.
Minor - format code + fixing PHP warnings.
Remember last question id position see BT#8886