Add PNG viewing ability. Still very very much a WIP. Thanks ComputerNerd for all the help.
All the changes I've made somehow broke JPEG viewing, whether this is related to the project itself or to libfxcg changes is not yet known.