Fixed some visual bugs when uploading files Stochoptim