split logger into its own file
moved some dependencies around
fixed some old code in the global error catcher
added code to disconnect from IRC on bot clean_up