Feature deploy fixes

Some fixes related to multinode setups and context management.

Add locking on the status file.

Better LVM support.

Some other minor changes.