Added removegoal command to remove a goal
Error checking for donetask command