Updated .gitignore.
Fixed nasty memory corruption bug. Added line/polyline shapes. Fixed opactity.