patches/code for various LORKAS pieces