New logic for gui and binds.