removed header buttons
refactored FTP (not really a succes, but w/e) and added error handling