Removed old query code, version bump, fixed :advanced compilation