Fixed: Manual doors on 1S lines cause an illegal operation

See http://doomwiki.org/wiki/Manual_doors_on_1S_lines_cause_an_illegal_operation

Also a bit of a reorganise while there...