Drop parameter environment from ShowHandler::getHeadline().
Cleanup imports.
Pass environment to PreEditModelEvent instead of view.
Fix imports.