bugfixes. thanks to Daniel Reckhard for pointing them out
edge case in osa/lv/dl
small stuff in lcs, osa, ...