fixed extraction bug and added operations window.