refs #8992. Problem fixed.

Although, I'd like to do some more refactoring to neaten things up before hand.
refs #8376. Some minor refactoring steps.
refs #8376. More refactoring.
Merge branch 'feature/8376_binmd_gui' into develop