changed gui so mouse control has three states