Bug Fixes in Installer and Smarty Compiler

I encountered some minor issues during setup ad wanted to let you know