Added contents filtering. Opening panels needs little optimization.