Fixed several bugs (including the ones Trevor detected)
Peripheral images are now shown in gray.
Several bugs were dealt with.