Improved the Resource Acquisition Is Initialization (RAII) for the intro.
Fixed also some lints.