Improve performance of face change notifications.

Notifier now takes a list of faces instead of the individual faces.
Added support for adding and removing layers.
Adapt test cases.
Fixed some unused variable warnings.
Implemented add / remove layer buttons.