Faerdan's NanoUI update

Changes to NanoUI by Faedan