Moved Errors code into Base, added Error|Warning cases to ScriptVal