Fixed bug with positioning during command history
Added margins to lower window