remove file-upload delete links
handling global std::exception
64 bit fixes