Wispy, as project developers, we love when the community supports itself, without need for us to assist.
However, I'd recommend at this time you test your code before posting.
If I were a new coder and asking questions that I've seen you attempt to assist with, I'd end up more confused.
I mean no negative connotation to you personally re: this request - I just believe you have a bit more experience to gain before working "off the cuff".
Now, mind you, every dev here has made mistakes in working off the cuff - but leaving out major requirements of code, including standard Lua, GLua, and our library itself, only shows more experience is needed.
Thanks for trying to help, and please continue practicing and asking questions here in your topics of Dev corner.