Added assert check for line width and added hookups to demo project