first day's work. got screen rotation and started socket stuff