final refactoring of LOLGui