Height-related tweaks

1. introduced height-control variable and functions
2. introduced explicit setters for width/height