catch exception on screenshot save, and add dev build scripts