Finished main work on Element Window