Squashing all commits for pull request.

Diff between OpenCPN/OpenCPN and this branch should show the new route printing feature in OpenCPN.
This new feature allows to print out the route in table form, specially with the fields
"Course", "Distance", "Description" of the WP for the whatch officier.
Several classes were added for table printout and rendering, route properties selection dialog.
Route properties dialog was modified and button "Print Route" was added.

Squashed commit of the following:

commit 4201441e0fb231da9a98c7e6e4e8c37cf0649b9d
Merge: ad7763e 4840d27
Author: registry <saviankou@web.de>
Date:   Fri Oct 5 01:57:19 2012 +0200

    Merge branch 'master' into routeplanning

commit 4840d270a4c789c83675b5064c22bc801cb3f625
Author: registry <saviankou@web.de>
Date:   Fri Oct 5 01:56:58 2012 +0200

    Fixing conflict

commit ad7763e6a0c9d500b1f724236b80144112a5ea09
Author: registry <saviankou@web.de>
Date:   Fri Oct 5 01:48:55 2012 +0200

    Fixed conflict

commit 1fd1fb4fdf40553e20b783d64c9630a063bd2751
Merge: 80f0885 392fc53
Author: registry <saviankou@web.de>
Date:   Wed Oct 3 23:03:18 2012 +0200

    Merge branch 'master' into routeplanning

commit 392fc53a23d32eb48cd8b79b40c4d22a3a5d703e
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Wed Oct 3 13:04:09 2012 -0300

    Unify look of ownship options

commit 555f24bfe810dc5d204d32fccb7a27dfecd6f930
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 23:15:26 2012 -0300

    Validation should work for negative GPS offsets too.

commit 89e872ac6ef542736d7c7279606c617422b7da2c
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 22:48:52 2012 -0300

    Rework Own Ship Icon settings again.

commit 45415b62f91d39807c70be19eeae56959c11f186
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 18:32:06 2012 -0300

    Fix various inconsistencies wrt own ship size.

commit d640cafcc0854672ee9b2bbdbe2c9ace2d75321b
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 15:50:42 2012 -0300

    Fix misplaced comparision in last commit

commit 4546cdabbac853d361683b94637da68f4cad141c
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 13:29:09 2012 -0300

    Fix randomly disappearing ownship icon.

commit 15750f7ce89298c0bec6d94fdeee3e069b497b83
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 07:53:37 2012 -0300

    ais.cpp whitespace cleanup.

commit 5db7db55f355daaa097f2eb9cade0675417cb72d
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Oct 2 07:53:20 2012 -0300

    Render Rollovers instead of using windows. Stops OpenGL flicker.

commit 8108618a22d952c2e4dd43adc75ad9d47f413531
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Mon Oct 1 23:51:43 2012 -0400

    Fix memory leaks

commit b3aa5c3b4ba56e732bfbb02e45d22aa5efb1ef9f
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Mon Oct 1 23:08:46 2012 -0400

    Extend cm93 coverage to 80 degrees N

commit 768c3a8e438fe8a3fd65ae8d241d5eaf1d16fa99
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 21:29:00 2012 -0300

    Fix Context menus leaking

commit 917784523b98c04e4260c5475ef8f7982f8e6ab1
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 18:38:13 2012 -0300

    Don't show cumulative distance for the first leg of a route.

commit df6c2ab255cc713fedbb9808d626917372c42032
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 15:34:51 2012 -0300

    Don't offer to remove last wpt's of route + Fix undo after route crash.

commit dcd7e86fd3bec2c37bfbf54614857596ab13952f
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 13:35:51 2012 -0300

    Group chart items in context menu, shorten item texts.

commit f1bf7746c951f88d52d18cbb830b611d404d2155
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 10:23:20 2012 -0300

    Centralize select radius management, and make it adapt to screen size.

commit fd4c6621e5ac94e62e32d93389efa82c1743aabb
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 09:44:04 2012 -0300

    Focused Context menu for AIS targets as well

commit 3b70276ad2f19d619d410b4933e6fc1e905f4a40
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 09:16:36 2012 -0300

    Move CM93 Detail slider from Context menu to hot key 'D'

commit 36e09f5735a07ebedadd75fa35bc3adc4304d7e6
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 08:00:43 2012 -0300

    Don't highlight the Route when showing the Waypoint menu.

commit 6ade55296e0099081a8238379416a9d277ac799a
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Oct 1 07:46:09 2012 -0300

    Route Delete should invalidate Undo stack.

commit b23f24c575e24cac9e0ebe532153663966a5325d
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 21:41:51 2012 -0400

    Cleanup dysfunctional code.

commit 428eb654f19f15eecef731bb04fb716684e0229d
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 21:41:14 2012 -0400

    Correct CMake library linkage rules for some linux builds, esp. Debian

commit 1b10de755e99e10895821146558f5ed328100e87
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 19:45:51 2012 -0400

    Correct message text.

commit cfbe059d14b573c4ca91b0d778030a540500d2a8
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 19:39:51 2012 -0400

    Fully clear storage to avoid potential FP runtime errors.

commit bcea5e2b3c7d53a1c946ce993c023a29f0b8c44e
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 19:38:10 2012 -0400

    Correct constructor to fully define member variables

commit 885210b3b1ff7ec01424c0d8a94ea8a0f7961f5e
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sun Sep 30 20:15:31 2012 -0300

    Restructured Context menus to Focused Context Menus (Pat Pend)

commit 8007479e8aa113e234004d06ebbeb442577e29fd
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 18:14:37 2012 -0400

    Revert "Merge branch 'menu'"

    This reverts commit 1d34128698b667373d26442d5991f724a96b1423, reversing
    changes made to c8cd004c2b08cf616139d5707d148943a97907e7.

commit 1d34128698b667373d26442d5991f724a96b1423
Merge: c8cd004 f97239c
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 13:36:56 2012 -0400

    Merge branch 'menu'

commit f97239c8828b31eafbc6619b2bc3954080ab929f
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 30 13:35:42 2012 -0400

    Improve Context menu layout for frequently used items

commit c8cd004c2b08cf616139d5707d148943a97907e7
Merge: 4ac5d28 58f2e1c
Author: OpenCPN <opencpn@me.com>
Date:   Sun Sep 30 07:43:17 2012 -0700

    Merge pull request #23 from nkiesel/master

    added "Anchor" hotkey

commit 4ac5d28638967cef40f5174eef0748ae85906159
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sun Sep 30 11:37:29 2012 -0300

    AIS nav status HSC, WIG icons

commit 7fd0fe286b8b9d13015b265eb0f76fb2625a8b0d
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sun Sep 30 09:18:16 2012 -0300

    Make "Apply" in Option window work in DC mode too.

commit 80f0885db43ac9c78cea9e0a1674d822bb905c51
Author: registry <saviankou@web.de>
Date:   Sun Sep 30 12:20:23 2012 +0200

    Added some comments to the code.

commit 7dcc207c7d361a4df3fd0dd36fd7a408baa5e78f
Merge: 01409af c0c832d
Author: registry <saviankou@web.de>
Date:   Sun Sep 30 12:15:00 2012 +0200

    Merge branch 'master' into routeplanning

commit c0c832dd69e3f744c234a80e41d234bf131a2f12
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sat Sep 29 19:48:39 2012 -0300

    Integrate FS#841 - Cumulative route distance in route leg rollovers

commit fd64148098480ca1e63ac62b1e62a7cd3177f5ca
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sat Sep 29 12:04:33 2012 -0300

    Implement icons for Nav Status RAM, NUC, RBD, etc for AIS targets

commit f4738427c5d2613c0439e08fa11f4daae2103a5e
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Fri Sep 28 22:08:58 2012 -0300

    Implement Track Data Reduction

commit 01409af2ce583ce1a4fa0480566aa62b4ad771e5
Merge: b1bb09d 72da349
Author: registry <saviankou@web.de>
Date:   Sat Sep 29 00:35:44 2012 +0200

    Merge branch 'master' into routeplanning

commit 72da349f21d991697a2225bef56288b45ddb1702
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Fri Sep 28 17:14:24 2012 -0400

    Correct DisplayCategory for Simplified TOPMAR

commit effc2a03bcd675036b596092d121b2910c6cdeb1
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Fri Sep 28 17:00:24 2012 -0300

    One more mem leak.

commit 7adff011f497d6e581440061a342da1b7bd974bf
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Fri Sep 28 15:17:10 2012 -0300

    Mem leak cleaning

commit 04afb7b2bda4f0071d64d86228dcda52e7ff3187
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Thu Sep 27 18:06:33 2012 -0300

    Fix FS#845 - Missing buoy topmarks after using "Show ENC Text Button"

commit b1bb09d731a1e2d4d0c73ab64665f77f5d3398ff
Merge: de0b91e 7f58f1b
Author: registry <saviankou@web.de>
Date:   Tue Sep 25 22:55:45 2012 +0200

    Merge branch 'master' into routeplanning

commit 7f58f1bfb5ea0104201ed7dc3dff9789ac3c808b
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Sep 25 17:02:08 2012 -0300

    Scroll rate again (missed the last one).

commit d8ba5be5f6aa21eee6a52e261f6aa1048f701630
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Tue Sep 25 12:24:42 2012 -0300

    Fix FS#886: Remove space in extended name, clear extended if not
    present.

commit 00a1b5d6ea75cd3b016106f0f63304f9c7fe373b
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Mon Sep 24 19:18:01 2012 -0300

    Scroll Rate adjustments

commit de0b91e900affda7ece70d7e1adf678d61fbe37c
Merge: e8b4bc5 13a9200
Author: registry <saviankou@web.de>
Date:   Mon Sep 24 15:56:20 2012 +0200

    Merge branch 'master' into routeplanning

    Resolved Conflicts:
    	src/undo.cpp

commit 13a920065afb3190d6aaaa1bada345eb50cba3e8
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sun Sep 23 19:12:51 2012 -0400

    Correct compiler warning

commit 00dec2be27730a1c4cadac104a76bf8bc73c9a41
Author: David Register <bdbcat@users.sourceforge.net>
Date:   Sat Sep 22 21:05:42 2012 -0400

    Correct PlugIn Chart class API (NVC and BSB4)

commit 5b82c3ca8190950651fd2d39f4aac00c1f5ab486
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sun Sep 23 17:13:52 2012 -0300

    Fix FS#885 - Base station usually don't have a spead, course or heading

commit e8b4bc5d1480b78ebc934ad636dd07ed034f539c
Merge: 09653db 7ae0e57
Author: registry <saviankou@web.de>
Date:   Sun Sep 23 18:18:06 2012 +0200

    Merge branch 'master' into routeplanning

commit 7ae0e57897c5df09364ad5d1d73e765eb54c19f6
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sun Sep 23 12:27:09 2012 -0300

    Options Polish: Alignment and spacing, more small screens size.

commit 09653db9ce387fa65f8b9195f60155915feda55d
Merge: dc60f12 fc14e27
Author: registry <saviankou@web.de>
Date:   Sun Sep 23 12:49:38 2012 +0200

    Merge branch 'master' of https://github.com/OpenCPN/OpenCPN into routeplanning

commit fc14e2775745a00b68c66e283cb8fcf34cb67bd7
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sat Sep 22 16:01:52 2012 -0300

    Waypoint Send to GPS context menu.

commit 6e9da8693c3e3f90ed778c22813b90b2a10160da
Author: Jesper Weissglas <jesper@journeyman.se>
Date:   Sat Sep 22 11:09:59 2012 -0300

    Polish spaces in AIS Target Mouse-over

commit dc60f12de3cdd3243b7dac418b598c6053ad5732
Author: registry <saviankou@web.de>
Date:   Sat Sep 22 11:51:16 2012 +0200

    Added new files for compilation and removed wanring

commit 2bb8018b59c9d0e88ec9932232c6ab69c783feb1
Author: registry <saviankou@web.de>
Date:   Fri Sep 21 22:01:38 2012 +0200

    Ported all development from "wrong reporitory" clone into github.

commit 58f2e1cfe76170d46ba39804ac1e4ea3ec538584
Author: Norbert Kiesel <nk@iname.com>
Date:   Fri Aug 17 12:39:43 2012 -0700

    added toggleAnchor() hotkey

    Pressing 'A' shows/hides map elements only interesting if you are
    planning to anchor (SBDARE, ACHBRT, ACHARE, CBLSUB, PIPARE,
    PIPSOL, TUNNEL)