* improved lockfile handling - warning code still theoretical - has never been executed/tested!