Small fixes and 3rd party integration

Just some more fixes and integration of a webmap. However i do know that
logins still dont work and am trying really hard to fix that. Also
dumped down MySQLie.class.php by deleting some functions i dont use but
this MAY cause errors.