Cleaned up some initialization code. Fixed a missing line renderer