fixed port loading bug (using Lawnchair)
fixed auto-picking correct last_selected port
removed the dependency for an id variable in the embedded view, moved the window.files creation into the populate() function