Added indicies to DB tables. Corrected UI glitches.