Refactored a bunch of code, formatted correctly, and started trying to f...

...ix bug that calls onStop for fragments n+2 where n = rootview