Renamed write and compile methods to work the same way as Stitch and Uglify. Other small improvements