Improve option caching deletion

 - For hash options - delete if chosen key no longer present.(was
   already implemented)
 - For list options - delete if chosen option no longer in the list.
Change the coding style to include more whitespace
Add window preparation tasks

Integrake.window will create a task that prepares a window for usage in
other tasks.