Improved execution flow readability, see #40

Texture are not loaded magically before the execution of the main
function, and the order of the calls seems more logic.