alarm/libz160 fixes