Toggle comment function
Moved some Qsci logic to actions