modified todo
changed width of text/input. bit fiddly but important
centralize debugging, few debugging tweaks, untested