Copy/Paste bone name buttons crashed, didn't use the callback for buttons proper yet. Also added MAXFRAME defines for buttons, instead of hardcoded values 9000 or 18000