Cleanup

Cleaned up the help messages function