Cleaned up the codes. Refs #9243.
Merge branch 'feature/9243_improve_loadeventprenexus' into develop