do not allow files to be dropped
cleaned up some code and made log have more info