Added more explosion protection and fixed some silly bugs.