fix timer, lighting, logger...other things... mostly functionally
single-threaded client now.