Contantize the default options.
The default_options looked more like a constant to me, this way we
can also easily use them in the specs - which I like. This is
very debatable though so open for feedback!
initalize real and intialize shell methods
dx and dy werent used anywhere
Hopefully fixes #173
This contains quite some refactoring that's not essential.
What was essential was adding the event listeners after the shell.
Hopefully that works on all platforms. Everyone please check.
Removed a 'lock' which I used during my process of understanding
Further work on making app width work (combination of 3 tiny commits)
Fix #173 cross platform app width - kind of

This is the best solution I can think of right now and I really hope it works
for all platforms. After packing the shell with everything the error regarding
the desired app size is computed and is then continuously taken into
consideration.
About the width problems we discovered, at least on my Linux machine, I'll
probably go rewrite the example in Java and submit a bug report.
Oh and I removed my various puts statements :-)
Fix spelling
Report dimensions in the app, not console
Merge pull request #1 from wasnotrice/fixing_cross_platform_app_height

Fixing cross platform app height - thanks Eric!
Merge pull request #174 from PragTob/fixing_cross_platform_app_height

Fixing cross platform app width