Just some refactoring

I recently found out Lua programs don't often use camelCase. Weird, but ok.