Corrected check if app name and app abbr are used.
Removed some debugging code
Authored by: jonathanobaker 2008-10-26
Parent: [r198]
Child: [r200]