Fix a bunch of bugs and currently in process of calibrating delta time. Still some issues with time calibration