fixed command history in console
added scripted filebox-dialog