Merge pull request #1 from ls612/Ea

Minor Bugfixes and removed erroneous compiler warnings
Lua promotion support
Merge pull request #2 from ls612/Ea

Debugging Stuff!
Lua promotion support
Merge branch 'Ea' of https://github.com/Pazyryk/EaDLL into Ea