Fixed scrollbar tracking
Cleaned up SWIG interface a little