Scripts/HoO: corrected a few guiddata related calls and added a missing definition