implemented most commands and finished fullscreen mode.