More console logging and fxing remainingPath to use activePath variable