bug #2 partially fixed (no error is thrown on cancellation)
wrong tokenization fixed
output direstory removed and ignored