adding pagination code, inactivating superfluous ns_log notices, adding more code comments..