fix bug in FieldGlyph (no default sql function when changing field role to measure)
replace sqlite driver with newer version (seems to solve the locking issues and is much faster)