Fixed the crash when toggling fullscreen on empty ws

By checking the client is not null
Fixed crash on toggling fullscreen on empty ws

By checking if the client on the ws is null
or not. Also removed the annoying braces
on a single line if condition.
Merge pull request #12 from neo1691/develop

Fixed the crash when toggling fullscreen on empty ws