Fixed bugs that arose post custom-element integration with te router's page loading and with event propagation in models.