Changed to swing. removed some bugs. added errors to window instead of console. implemented prettier printing of exprs.