improve interface: no need to show history div if no history

The text "History: Nothing has happened yet" is confusing for a new user when arriving on a new task. This PR simplifies the interface by not showing the text if nothing has happened yet.