fixed display init and resource lifetimes