updated shells, update code functonality and efficiency, now integrated
from main window