[MGT] Typos, empty doxygen fields, include paths.
[MGT] Variables rename, static_cast instead of dynamic.
[MGT] Replace iterative search with explicit solution.