gitskarios: reformat code and cleanup menu fragment