spell generation should now be ok
indentation too
(though the indentation code is horribly done...)