window height calculation now includes bordersize/linespacing

this fixes Issue #17