added more detailed error when interface is missing
fixed some errors in algo2_nandsim (but still doesn't compile)