Fixed bugs and made image show up.