fixed stuff; galdin DEBUG; nice grid output