Fixing folder navigation issues
Removing unused functions
Adding Imagine
Fixing error messages
Modifying file listing to display directories first
Fixing thumbnail creation to keep aspect ratio
Fixing cross-opening form issues