Window tweaks
Add restore method to Window command
Add Task API