Improve error handling
Enable optimisations and remove debug information
Update README