Added missing files, and added a cap on deltatime