use shift-insert for pasting
fix compiler warnings

Added the 'remindWhen' field to the UrgencyConfig, and added type signatures to
all top level bindings. Additional warnings are ignored (particularly for the
layoutHook) because the types are too complicated for the warnings to be
useful.