lots of stuff

moving the Case enum into the global namespace, fixing drawing for Qt5,
some work on the game tree widget
cleaning up some useless headers