This patch separates the updateTopPanel() function from the very large session.js file into a new top_panel.js file. The advantage of this is that if a mod has a different set of resources and wants to change the resource bar, the mod no longer has to maintain a full copy of the session.js file, but can edit only the small, new top_panel.js file.
Update: also moves the updateViewedPlayerDropdown function into the new file.