Moved rendering to texture into separate methods of WindowBase class.
Added bezier curves.
Started working on sockets and wires.