improve error handling
fix bug with canvas support detection
bump version