Fixing some null dereference errors and adding global feed refresh key.