fix memory leaks involving text_input returns, fix create single volume crash