ui: avoid loading same entries several times
ui: fix TypeError in entry content rendering