Culture search (fixed issue #127) and error handling

Basic error handling done.

Fixed issue #127.