Update kon.cs

Add database population as background worker.