Fixed a handful of warnings and split off the PictureFragment into it's own .java file