Fixed bugs in alarm (maybe?) and reparent and peffect