optimized RAM usage, more friendly UI, refactoring