updates to front-end, mostly taking care of some bugs