Added unblock function to scheduler.
Better handling of locked scheduler.
Implemented unblock module system call.
Cleaned up relocation code.