gist ui improvements, works, but requires refresh