Menu update

Added a terminal main menu (not sure if it works for windows) where it's possible to set the map ,etc
Made some smaller changes to the code, so it's hopyfully a bit clear and short (no superlong lines)