Declared UI components inside class body
Added color customization and improved default value management.
Better memory usage and improved stability. Added a popup that asks if you would like to save the file before closing.