fixed some error handling routines and disabled runaway string literals