add title attribute to html frontend fix nfcn and ncall confusion

and change ncalls to int