clean up profile code

result class is still a mess
Do a significantly better job of getting the stacktrace

[Fixes #3]
v0.5.0