Add fullscreen code (not working) and ready check on poll