fixed timer and target setting functionality in the gui.