More code changes

Lots of new changes
- view camera pos and target in main window
- Changing calling methods for script
- Rework postprocess to use C++ execution
- Redo example scripts
- Change how distance functions are created
Appsettings fixes

Fixed a few bugs in the app settings code