Close portals with f key and other changes.