fix for multi-gpu system & minor changes/fixes
changed 'thanks to'

yes, this is important