added printWarning function
enabled Script2asm to set file pointer to output error messages
deleted periods from some warning messages