keyword 'var' implemented, improved error messages