Added some debugging information on Android Log and on screen. Debug mode can be toggled via a new button on UI