Separate the parsing and display of fixed headers
Separate body parsing and display
Removed commented out display information
Display notification type
Corrected variable scope