Refactoring + PM support

- PMs sort of working. Can't close a PM window yet.
- Refactored a bit to allow holding custom info per irc server
connection.