This commit added a confirmation dialog when clicking on links. It also fixes some bugs. I forgot the rest.