Complete refactoring

Completely refactored stream, events and thread handling
Modified a few config values, out is now out-dir, realname is now real and nickserv is now nserv
Downloads should be faster after forking the process
Queuing downloads and exiting after the downloads finished actually works now
What a mess it used to be and still kind of is