Personal modifications made by Mofakin based on SkyUI source code.