fixed bugs in the previz tool, still refactoring, added controls