Improved app framework to work without screens.
Added support for compiler customization.