Crashes fixed

It should now have all the critical error checks to prevent crashing as well as all the original functionality preserved + a little more like human-readable notices about channel mode changes, timeout/clearchat notices