1. Whenever the number of available/unavailable devices changes the
table showing the devces also resizes its rowcount. By default it was
set to 15.

2. Made the EventType and DeviceType columns sortable.