making small amounts of progress.

no longer crashes when you try and toggle in a corner