fixes padding issue with select box in header
better handling of long keys in kvlist (fixes #61)