Slot icon code done, for now.

This could probably be better. Having them registered by some particular
item makes no sense, but there appears to be no other way to do it
currently.