Major bug fix for function name mixup

Button and Item get/set for extra-data swapped to the correct names.

Also added a check for invalid button ID created for world items.
Fixed some typos

sif_debug_level is nothing to do with players, it's a server debug mode
that prints to the console and nothing else.

Removed redundant check from InventoryDialog.