Fixed problems with removing tasks from the ready queue on deletion, removing RCV_BL tasks on deletion, and removing EVT_BL tasks on deletion.

Also implemented a shutdown procedure
redid nameserver to use a hash table