Violations

Fix several minor code things that noone except @Iaccidentally cares about, and some other things that definately are important!