minor performance tweaks
Version history updated.