Add spout files
Fix spout input
Update menu for spout
Revert default input to grid in settings file
Add checks for spout
Fix linux errors
Fix preprocessor error on windows