"drag and drop from outside" functionality, calculation bugfixes