refactoring, maximization bugfix, sped up message list rendering