Minor bug fixes

Version 1.3.1
Fixes GUI focus problems.
Fixes issue #6.
NAMESPACE changes.