Removed event debugging
Fixed reinitialization bug
Added files improvements and validation
Improved for file upload