Fix retina rendering on OSX
This does not actually improve any graphics, but at least OSX native
GUI elements won't look pixellated any more.
-- Library for parameters handling
params = {}
function parseParams()
if ScriptParam ~= nil then
for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
params[k] = v
end
end
end