KERNEL/PROC.PY

Some minor fixes