Fixing issues when cached IDs are updated (using lock).
Added HTTP server exception handling (quite primitive, as usual for handling exceptions).
Updated config to use "INFO" log level. "DEBUG" becomes quite too verbose.