Fix ugly Window styles on Qt5

Fixes it for me. Now we just need all functionality to follow...