Disconnect from peer
Make sure content orientation is correct after focus window has changed
Don't override the default surface format, extend it instead.

This fixes warnings from the virtual keyboard about missing
depth and stencil buffers and potential rendering errors.
Merge pull request #6 from pvuorela/small_fixes

Small fixes