adds flash notices, some table styling