more turn restriction stuff, and checkboxes, and a bunch of little fixes