Fixes

Slightly improved error handling
Raised minimum SDK version from 9 to 14