Convert many things to single quotes

Also:
- Clean up error classes for consistent output