use shift instead of emptying the array

allow the konami code to be used at any time rather than be entered
exactly at a multiple of 10 characters