Implemented fullscreen mode. Fix #385