Clarify comments and code
Code style and cleanup
Add tood
Use expDuration in results notification, clarify comments