Splitting up ModView into methods. For ease of editing. Fixed a couple more bugs.