Version 0.11

Added some rudimentary error handling.