Added checks in log for lines beginning with #.  Fixed bug in run_aivolv in finally block.