Removed a few unnecessary units
Changed the onclick behaviour. Previous methods were prone to misclicking or accidental clicking of rows, putting mistakes in the registery. Decreased row height, and added default action to double-click event, or pressing "Add" (or Enter) with an empty edit box.
Fixed an issue with the aggressive focus: the timer wasn't set still on popup, which (also) means that the application wasn't regaining focus when deactivated.