Changed UI, using jQuery UI now. Also some refactoring overall.