Having MAJOR synchronization issues with KeyEvents