The lock of a particle list is no longer an external variable, it is now part of the type. New procedures have been added to set and unset the lock.
Most of the modules are organized in subfolders. Maybe some big re-organization is needed in the future, but for now I am happy.