Moved unrelated graphics functions to helper module. Closes #83.