Reworked command system a little more.
Reworked scheduler task.