usage of stopwatch class for deltatime, application can be closed using escape key, few small fixes