removed some superfluous warnings
cleaned up the filter function, made it more concise
added proper HTML file API for dropping CSV files in the designated area