Cleaned up reimplemented linespacing selection