Minor changes
* added lame error code to exception
* add glob option g