Fixed a memory leak from copying images without deleting them.
Removed directories with packages we don't need at the moment.