Added deltaTime methods, and set up window creation with optional command line arguments.