Support silent push notifications and clean up some stuff