added -q flag, game control is no longer property of main_window, fixed argument parsing, -lw,-lb now take two arguments