Use bidirectional resize arrows
Refactor manager - use z-index instead of array for ordering windows