added stdint includes, changed addbutton call

Heyah, dunno if you are still maintaining this git repo, but I'll happily send pull requests for any more changes I make if yo'ud like!