Began work on making all types inherit from the primitive type object.
Fixed a few regex issues.
Other bug fixes.