Enable additional compiler warnings
Make XY the default case rather than XYZM
Apply code style