Added GUI to control flood rate