Fix error handling, also migrate to go1.3

I think if you're willing, that'd be awesome!