Moved qRegisterMetaType calls to main

Also commented out noisy serial link error output