Improved memory manegemnt and safety

Got ensureUsers test working as well as possible, but leaving it out for
now.
wittyPlus no longer tries to use it's on WServer descendant. Everything works now
Half refactored the debug and footprint shell scripts