This is cool, well done. Is there an advantage over putting a folder in the dock?
Even if there isn't, I might find it useful because I currently have my dock set to only show running apps (one side effect of that mode is that folder stacks no longer work).