improved some stability issues
implemented exeptions for comments and newlines in parser