Updated Classic version to add cross-user tracking using custom variables. Cleaned up code and improved compatibility