added super() for ctor inheritance.
fixed forloop's increment operator
moved all functions that don't init data to gamedata
removed deprecated functions, reassigned others