Better paragraph handling and misc thingies