small updateslike tidying up comments etc before large overhaul of program flow