Start making characters work. Fixed init functions and dimension computation.