tweak for faster demoing
implement command line argument for choosing ui (browser or console)