fixed some warnings
basic implementation for selection & default sorting
add default sorting & selection to sample
fixes #1, fixes #2, track locale in grid (which is buggy as seen in the
sample due to event order)
add emf project to build