reworked time handling, need to fix visual bugs and roll into one event pipeline