Keyboard dialog functionality restored, minor UI fixes

KeyboardDialog was not functioning, now it works (qwerty-like layout,
with minor modification)
Some labels in thumbnail view were misaligned