more first run fixes! and now it almost runs! yipiyay