Added file locking methods and tests.
Added editor launch and unit tests.