Refactoring autosprite... Code improvements