New debugging structure (--debug [NUMBER]), rspec corrections, minor econe bugfix