Implemented support for a status bar, its height and location are defined within config.h

I also fixed some bugs relating to alignment of windows in the stack function.