removed dispose function and references to dispose throughout

Should fix #227. If you just want stuff commented out, then that's fair enough, I can change that, but here it is with dispose() removed.