bug fixes, started GUI