Create a custom component deriving from ListView in an attempt to reduce flickering.

Also moved a lot of code to a class specialized in handling dbc/db2-related data.