Added a timer for tasks (due to swing clicking being buggy) with Matt