many small fixes and updated to 0.1.2 and ruby 2