improve spooler directory handling
major logging refactor as well as printin support