Several bug fixes and code rework. Also Dgame don't use 'auto ref' for non-template functions anymore. As long as dmd has nothing like that I use two functions: one with and one without ref.