Code cleanup and convert everything to tab-based indentation.
Added debug switch back to PBL_APP_INFO block.