Simplifications
Added functionality to print APM debug messages to display.