Added previous windows map
Fixed compilation errors, added history to menu bar
Sidebar is now modified when ChatWindows are added and removed from the ChatSession