added type ahead history to stringquery and derivequeries. Fix wrapping in timepicker editor