Fixed erroneous <para> handling, added comments