Fix issues with tab completion in the history UI

It was possible to break the history UI with tab completion since the report data was fetched on initial load. This commit tries to delay fetching the actual report until a command is called, so that the completion won't break the UI.