Minor updates to snapshot script.

Improved log messages. Remove existing file from
snapshot directory before starting VLC.
Improvements to main tasks script.

Improved camera host detection scheme. System shutdown
is now controlled by and environment variable.