Remove miniwidgets empty context menu

Signed-off-by: Álvaro Arranz <aarranz@conwet.com>
Add copyright header to EndpointException.js
Fix operator preference handling
Add initial support for the PreferenceError exception
Rename EndpointException to EndpointError