Fixed addComponent so that non splitfields are actually added to the
grid.
reworked logged click listener to also handle mouse events.