added radio buttons to select how resize works

Now handles inner or outer window resizing. Also fixed a bug with "fullscreen".