Added Plots and Flags.

Fixed some problems with the database, maybe you've done that already, if so, you can ignore those changes.