Error handling and formatting fixes

- Formalize error numbers
- Namespace VBA variables
- Prefix private methods and variables
- Update progress bar in installer
- Styling and comment updates