pictures displaying correctly, bug fixes