Don't enable the OSC server by default.

Documents will only enable the OSC server if they have the "oscPort"
set in the document properties.
Resolve unchecked cast warning.