implement mac findAppByKey
use quoted paths on mac. fix browser init.