remove anachronistic HINT and UHINT typedefs
add goal_t typedef
switch to GOALxxxx
add goal parameter to elxxxx()
get rid of CEXTERN
Merge pull request #1503 from WalterBright/b12

B12