Some local fixes for phpbb beta 3