Sn redux

important additions by linus : 
- UI gets sliders now! so cool! 

additions by me: 
- new _ext folder selection so we can pick from our user folders in addition to the templates folder.
- restructure of main code to help future refactoring

if scripts weren't broken directly before this pull request they're probably OK now.