correct status register init value, moved reset of GUI handler