Logging refactored in sim and icp.
Fixed lognames
Ignored .log and .pyc (plus standard stuff)