adding support for iPhone 4 and iPad images, alternative game color themes, improving ranking function, and some refactoring