Compatibility with Qt5 has been implemented. Also, modest refactoring has been accomplished.