Debounce Select & Function Keys

I have included the changes requested to the new RebelAllianceMod as requested.