clean up that awful texture drawing method
add simple rand and randf methods