Added error handling for removing process from blocked waiting queue, fixed comp vs assn, moved push statement back to while loop