Duration Closed/Open screen.

Added support for open/closed duration screen, which required a bit of
an edit in several areas. goddamn progmem blowing up.

Also a first pass at tidying the file, but its far from complete