Lua Commands and Logging

Lua commands inplace.
Logging usernames and chat also inplace.