generalized the horizontal line creation, added general console logs, and other cleanup

Happy, @anthony-dandrea !