Added comments, change ui behavior (render height now optional)