I have tweaked the merged code and it seems to work pretty well now! I am sure there are things that can be done better and bugs will be found. Some cleanup should be done as well. But I don't get large ram leaks at least, and the run app functionality runs in the background when the karvonnen UI is displayed. Use the links in my previous reply.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I have tweaked the merged code and it seems to work pretty well now! I am sure there are things that can be done better and bugs will be found. Some cleanup should be done as well. But I don't get large ram leaks at least, and the run app functionality runs in the background when the karvonnen UI is displayed. Use the links in my previous reply.
EDIT: I did a pull request into your master branch in case you want to continue with the karvonnen code accessible from app.js :)