add mem checks for latest updates
add entropy to mem checking
clean up .gitignore
fix .gitignore