Fixed wrong int. setup when managing slept lists

Added macro for enabling logging: __KRN_DBG_UPDATE_SLEPT_PROCESS__
Added some comments, and changed some user programs.