Add a method to kill a thread
Part of #1003.
Allows killing threads (they get marked as alive/dead and getThread functions only return alive threads).
Also moves the log message to the proper end of the instance startup.
Just another brick on the road towards on-demand instances (will be testing with a mod soon enough).