debuglevel added
bug corrected (wrong parents)
bug corrected (wrong debuglevel name for function cont creating)
another bug corrected