added test for bug https://sourceforge.net/p/compassresearch/tickets/158/
improved console read. Now it doesnt crash on bad input (parse/tc) but requests the user to enter a new value

bug https://sourceforge.net/p/compassresearch/tickets/160/
fixed the case where a fatal error occurs in the interpreter but the process keeps running