Add GUI. Fix some errors. Add interface methods.