fixed some initial GPIO configuration. fixed systick interrupt not defined as an interrupt. fixed any interactions with backup registers causing lockups. completed RGBLED work. fixed button handler code. add currently non-working lightsense code.
nearly everything is "implemented" but how well it works, or if it works at all, is unknown.