finished random sprite display and added a config