cleaning depth from common_lib.pl
fixed sub id_args, perl code created by compile goes into infinite loop
fixes to make @table global to all files
added notes to todo, disabled some obviously working debugs