Lua scheduler updated.
Player input pausing added.