made some small changes so far

dont know if you have load_procs called any where but i added it to
load(). there doesnt seem to be any problems that i could flush out
after making function[] global.