Based on Openkore 2.0.7 (rev 8882), working on bugfixes, simplification, refactoring