clarified objectives
minor new features: if_debug, version display moved to a function