Fix warnings with feed permissions view

Was throwing a lot of warnings.  Also cleans up the code a little.
Wait, it still isn't showing the right image.  Let me fix that before you merge.