commented code removed, unused variables removed
namespace correction
abstracted stitching to its own class
integration of greg's code
windows nonsense