Fixed the behaviour of the checkboxes and input fileds. Gameplay now works.