Properly set background and transitions.
Add visible flag to containers.
Hide the status when not foreground.
Initial support for generated textures.

Base virtual functions moved to BaseRes so we can specialize Res.