Updating export portfolio for the new stylesheets. New sheets applied and some extra data added to the page (such as learner name). Doesn't look right yet as the images aren't available and the css references have had to be hardcoded and this should be done via the css tag.
giving learner role to users added to a course/class, so that their role list is not empty for that org (otherwise they will get an exception when logging in)
Want the popup window to replace contents not switch focus if already open. This is needed to avoid tool session issues. To be revisited in the future by always popping open a new window for each different instance (preview, each activity).