reformat code to adhere to razor-qt code standard