Small tweaks. Major stability changes for Arduino