Added error boolean and string vector for errors.

Also removed debug methods / debug implementation.