move sprite to a use future loading
better warning messages
fix enum tests