Porting johnronk@1ec7c61 to Pistachitos and exposing it through the gui