Improvements

Added configuration file lock
Bugfix: DATE bind value converted to DateTime