Fixed whitespace issues in EventQueue