My point is that we shouldn't have any keyboard globals here. Please change the code so no global is necessary at all.