Added bugfixes for #3438 #3430 #3388 #3350

Added bugfixes for #3438 #3430 #3388 #3350
P.S. This is my first pull request, so please do comment. The tk_grab can't be done effectively because of the way the current throwing system works and I didn't want to change the system yet. I am still new.
The changeling datum fix may not be very efficient, but ensures that there are no lings without mind datum at the start.