heavily modified sprite viewer as a class to be more modular, allow for embedding and actual use in game