Fixed smartcard argument checks.
Fixed smartcard package reading.
Added debug output, if some message block could not be read.
Debug printf now more verbose about location of the error.
Resource cleanup now done using goto
Length now checked at all places.
Now printing debug message for unhandled data.
Fixed setting of smartcard filter name and path.
Fixed setting of name and path of smartcard, now determining on number
of valid arguments.
Smartcard arguments now optional.
Fixed reading of SCARD_IO_REQUEST structures in Transmit_Call.
Fixed compile error.
Fixed clang warnings.
Merge pull request #1497 from awakecoding/master

Windows Fixes, .rdp file improvements
Fixed potential memory leak, now always calling WaveConfirm after playing
a sample.
Fixed compiler warnings.
Fixed CommandLinePArseArgumentsA return value check, only abort if negative.
Let mac client print command line info as well

Only seen when running the actual executable itself, not during
open.
Make sure windows size follows commandline geometry

This adds support for fullscreen mode, which may fail
on non lion systems
Correct handling of mouse scrolling for osx

Setup server to scroll 1 line at a time to match osx
scrolling speed.
Dumping stream now.
apply glyph fragment offset after fragment
(cherry picked from commit eb2f3a02b465a59d29578248f25d2c2726592150)