Context menu

Added a context menu that contains the line width (and potentially more later).
Tweaked some functions.