Correct workspace locking on Linux
Ver. 1.5
Create app lock directory
Totals refactoring