Added copyright notices.
Fixed a few bugs that were causing crashes.
Added support for TCL expressions within the file path.