I tried doing a plugin with the help of several members that replicated what you did but your knowledge is better. If you have time can you look over the code? I can list you as the author or whatever you choose. Thanks mate!
Here is the URL: https://github.com/bphelp/custom_toolbar