Created IrControl (thread).
Improved controls select (Sql and logic).