UI.registerForShutdown has the same semantics as ShutDown.add. we only need one functionality like this, so this patch deprecates it. Signed-off-by: Tim Blechmann <tim@klingt.org>