Finished work on pipelines, made commands cancellable, added permission support for commands