Added SQL exception handling and check "up-to-date". Changed logic of processing, messages and their order and re-index engine to SOLR.