finished bar calculations, added lots of text.
removed a dump
set default order to id desc
added ability to close an alert by a button
added undo function to promotion