Adding redirect to current faire page after application is trashed.
Fixing some misc configurations and syntax errors