Working with more line options, refactored drawing panel a bit.