Ticking timebomb defused

-Restructured import a little and removed unnecessary model function.
-Fixed crazy critical error in vis#displayvis which was assuming mongo's hash order actually meant something.

#260 should be all set now