tweaked rake scripts
split frame from screen. rm some unneeded includes. add focused_workdir getter to state