Tidied up spacing after inserting isWaiting boolean.
Added isWaiting boolean for notify() purposes.
Added isWaiting check to ExecuteStage.