Fix #3 through Frege/frege-scripting@3b6cd90db6af14a8b49b7232bfc52f9aae214b13, Fix UI not to overflow