Working revision, still grabs background pixels

Working revision of project, to be reverted if changes negatively impact
project