Cleanup url parser
Fix location form
Cleanup mainwindow
Port game template