Adding player struct (unused) and session creation, better formatting and keycode interpretation on js console.