Add option to viv.pl to not run the process monitor
Other minor improvements
Allow log_dir to be specified as an option
Tidied the javascript