Keep aspect ratio; Add fullscreen switch on f; Solve some warnings