Specify state to switch task into when clocking into it (it was
getting this right anyway, but I wasn't sure how, so now I'm forcing
it).

Add hook function to make parent task OPEN when clocking into a task
with a parent which has a TODO keyword.
changes to startup, mostly removing and replacing old stuff
fiddling around while sorting stuff out, no real changes
changes to timer stuff