bugfixes and stable connection
most bugs fixed, first beta