ui improvements
fix paths, directory correction, and library crash