Changed window.location (issue #11)
Fixed fullscreen bug (issue #13)