various fixes, serial port now setting automaticly
some fixes