Add array dump function
Invert posted coords (for easier parsing in PHP)
Finish trim function
Add array2csv function
Send file for download