added setWindowTitle

made getWindowTitle available and moved to 'correct' spot
messed up function-args
merged