removed all the self code as it made the minified version smaller, but the gziped version larger and ultimately the gzip version is the one that is most important
lots of bug fixes