convert enum PlaceText into enum class

and make enum AlignmentFlags ": char", turning this into an enum class
requites more work, as it is used for flags.
Also change enum class BeamMode from ": char" to ": signed char"