privatized some items, added debug option

Added '_' prefix for some items. Made debug info optional