Qtable works, some bugs still regarding attack cancellation