Improved error messages.

Close #16
Fix Python 2 compatibility
Changed from 1.5.dev0 to 1.5.dev1