Merge pull request #2 from TheUnknownProgrammer/master

Added EncryptedChatSessionParameters
Merge pull request #3 from TheUnknownProgrammer/master

Made login form load identity files asynchronously
Heavy refactoring and user list changes

Refactored the event classes and other parts heavily.
Added more comments.
Wrote initial userlist code.
Added ping system for user timeout detection + small fixes
Fixed thread safety issue preventing the program from working
Optimized code, fixed recently used files and created a window flasher.