A few quick fixes

- Optimized an example
- Added debug mode for files
- Made $ a bt more specific.