LCS speedup + FG DB locking fix (Win)