Improved GUI logic process