small changes to error message
updated code for nubs by santaniello
debug off
app cleanup