Fixed horrible bug in zrem and lots of tweaks and new stuff