Backend fixed (Issue #8), front end still buggy