small tweaks to AVR demo