Fixed file loader
Fixed button for file loader
Refactored some small things
commented