I've updated some of the scripting stuff. The updates are:
1) Integrated the console window into the Lua environment, so you can type Lua Script into the console window and execute it. For example focus the console window and type: require "test"<ENTER>
2) Started including some of the glfw stuff into the Lua Environment (more to come)
3) Fixed some issues and added in the basic types; Rect and Point (more to come)

Same download as before. If anyone has Lazarus on Linux please try and build to make sure I didn't screw something up. I believe that I have it setup to load the .so (though I may not have it with the package, you will need Lua 5.0.2) and I'm making use of crt so I'm not sure it will work . If not I'll have to start looking into libs for console control.