Completed Syntax Validator with Error console