Add [l+c] link to submissions

Closes #9

An event is passed from alter.js to main.js when we want to open the tabs. The
listener in main.js opens them up for us.

This commit also has a few unrelated cosmetic changes to the code and a
preference description.