Add queue flush ability. Fix VGrid wrapping in UI. Fix some strange java error.
Add safety check in prio work queue