establish Linux/Solaris templates for atomic operations again
merge with jdb changes
Add code to handle erlang processes dying without releasing objects via close