got system clock get/set working and so other general cleanup