Code clean-up (globals, $e107->, headers, $sql)
#6 - LAN clean-up (HTML removal, double quotes, generic) - done upto/i admin/lan_p
Some more code clean-up (global pointers, $this->e107->, etc.)