Luckas bug fixes

New try - with remarks from Aautu implemented, no more permission changes !