More error checks and added check button to virtual item edit window.