More Lua functions, fixed release mode

IsConnected, Connect, Disconnect, Version