Fix crash after initial re-compile and other improvements
A crash would occur after the initial compilation of the configuration, which is a regression introduced in v2.2.4.
Additional improvements:
A crash would occur after the initial compilation of the configuration, which is a regression introduced in v2.2.4.
Additional improvements: