Refactored and cleaned up pop-up text methods.

- Removed getType and getCriticalInfo in favor of getHTMLDescription
- Modified classes and tests
- Reduced code in PopupPanel
- Unfortunately, introduced some sort of glitching in the popups during
updates - will look into this.