Onload & other function calls now working

Results are not all correct, but functions are at least being hit.