execute vacuum immediately and add more logging - turn on debug flag for test.
add vaccum to the cleanup function - was missing earlier
indent changes